package com.example.chatchatbackend.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.chatchatbackend.entity.dto.Adv;
import com.example.chatchatbackend.entity.dto.Shopping;
import com.example.chatchatbackend.entity.vo.request.AdvVO;

import java.time.LocalDateTime;
import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 丁真
 * @since 2024-10-28 05:03:47
 */
public interface AdvService extends IService<Adv> {

    List<Adv> getAllAdv();

    IPage<Adv> pageThree(Integer pageNum, Integer pageSize) ;

    AdvVO insertAdv(AdvVO advVO);

    List<Adv> insertAdvList(List<Adv> advs);

    AdvVO updateAdv(AdvVO advVO);

    void deleteByIds(List<Integer> ids);

    List<AdvVO> findByIds(List<Integer> ids);

    List<AdvVO> findByTitle(String title);

}
